<?php

function autoload($className) 
{
  if(strpos($className,'Sabre_')===0 || strpos($className,'Slash_')===0) 
  {
		$fn='./' . str_replace('_','/',$className) . '.php';
		//print "Trying $fn<br />\n";
		if (is_file($fn))
		{
			//print "Including $fn<br />\n";
			include $fn;
		}
  }
}

spl_autoload_register('autoload');

?>